package com.zhfi.dataapply.controller;

import com.zhfi.dataapply.service.ForwardService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.PostMapping;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.Map;

@RestController
public class TestController {

    @Autowired
    ForwardService forwardService;

    @PostMapping("test")
    public Object test(@RequestBody Map<String, Object> map){
        return forwardService.requestForwarder("api.cvsource.com.cn/open/company/v1/company/info/team-member", map);
    }

}
